package com.das.qiniufilestatechange;

import com.das.qiniufilestatechange.service.QiniuFileManage;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class QiniuFileStateChangeApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(QiniuFileStateChangeApplication.class, args);
        QiniuFileManage bean = run.getBean(QiniuFileManage.class);
        bean.updateFileType();
    }

}
